<?php echo $this->Facebook->html(); ?>
<div id="login" >


    <?php
    $this->layout = 'login';
    echo $this->Session->flash('auth');
    ?>
    <?php
    echo $this->Form->create();
    echo $this->Form->input('username');
    echo $this->Form->input('password');
    echo $this->Form->end('Login');
    ?>
</div>
			<br/> <?php
			echo $this->Facebook->login(array(
			'redirect' => array('controller' => 'users', 'action' => 'fb_login'),
			'label' => 'Login with Facebook'));?>
			<br/></br>
            <br/><a href="/users/forgotpassword">forgotten your password ?</a>
        </body>
		<?php echo $this->Facebook->init(); ?>
    </html>
